package com.sdry.mapper;

import com.sdry.entity.UmpsDepartment;
import com.sdry.entity.UmpsDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmpsDepartmentMapper {
    int countByExample(UmpsDepartmentExample example);

    int deleteByExample(UmpsDepartmentExample example);

    int deleteByPrimaryKey(Long deptId);

    int insert(UmpsDepartment record);

    int insertSelective(UmpsDepartment record);

    List<UmpsDepartment> selectByExample(UmpsDepartmentExample example);

    UmpsDepartment selectByPrimaryKey(Long deptId);

    int updateByExampleSelective(@Param("record") UmpsDepartment record, @Param("example") UmpsDepartmentExample example);

    int updateByExample(@Param("record") UmpsDepartment record, @Param("example") UmpsDepartmentExample example);

    int updateByPrimaryKeySelective(UmpsDepartment record);

    int updateByPrimaryKey(UmpsDepartment record);
}